package com.localhost.run;

import com.localhost.language.*;

import javax.swing.*;

public class run
{
    public static void main(String args[]) throws Exception
    {
    	LanguageGardener languageGardener = new LanguageGardener();
    	Language language = languageGardener.factory("zh-cn");
    	ImageIcon icon = new ImageIcon("images/favicon.png");
    	
    	JFrame frame = new JFrame(language.get("App.title"));
    	
    	frame.setIconImage(icon.getImage());
    	frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    	
    	frame.setVisible(true);

    }
}